<template>
  <!--开具发票 杨灿-->
<div>
  <el-row>
    <el-col span="16">
      <el-row>
        <el-col :span="5">
          <h3>基本信息</h3>
        </el-col>
      </el-row>
      <el-divider></el-divider>
      <el-form ref="form" :model="form" label-width="120px">
        <el-form-item label="发票类型">
          <el-radio-group v-model="radio">
            <el-radio :label="3">电子发票(普通发票)</el-radio>
            <el-radio :label="6">增值税普通发票</el-radio>
            <el-radio :label="9">增值税专用发票</el-radio>
          </el-radio-group>
        </el-form-item>
        <el-form-item label="本次开票金额(元)">
          <el-input v-model="form.name" disabled="true"></el-input>
        </el-form-item>
        <el-form-item label="发票内容">
          <el-input v-model="form.address"></el-input>
        </el-form-item>
        <el-form-item label="发票抬头">
          <el-input v-model="form.name"></el-input>
        </el-form-item>
        <el-form-item label="纳税人识别号">
          <el-input v-model="form.address"></el-input>
        </el-form-item>
        <el-form-item label="电子邮箱">
          <el-input v-model="form.address"></el-input>
        </el-form-item>


        <el-form-item>
          <el-button type="primary" @click="onSubmit">保存</el-button>
          <el-button>取消</el-button>
        </el-form-item>
      </el-form>
    </el-col>
  </el-row>
</div>
</template>

<script>
    export default {
        name: "ApplyInvoice",
      data () {
        return {
          radio: 3,
          form: {
            name: '',
            region: '',
            date1: '',
            date2: '',
            delivery: false,
            type: [],
            resource: '',
            desc: '',
            address:''
          }
        };
        },
      methods: {
        onSubmit() {
          console.log('submit!');
        }
      }
    }
</script>

<style scoped>

</style>
